
import React, { Component } from 'react'

export default class Detail extends Component {
  componentDidMount() {
    console.log("this.props",this.props);
  }
  render() {
    return (
      <div>
        <h1>详情页面</h1>
        <p>this.props.location.state.stateid：{this.props.location.state?.stateid}</p>
        <p>this.props.location.search：{this.props.location.search}</p>
      </div>
    )
  }
}
